#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>


char* data_in[] = {
	"2021-01-11 12:12:12.001",
    "2021-01-11 12:12:11.002",
    "2021-01-11 12:12:11.101",
    "2021-01-11 12:12:12.011",
    "2021-01-10 12:12:12.001"
    };
int dataLen = 5;

int main () {
    int ans = 1;
    char* minStr = data_in[0];
    for (int i = 1; i < dataLen; ++i) {
        if (strcmp(minStr, data_in[i]) == 0) {
            ans++;
        } 
        
        if (strcmp(minStr, data_in[i]) > 0) {
            minStr = data_in[i];
            ans = 1;
        } 
    }


    printf("%d", ans);
    return 0;
}